package com.xiaocg.state;

/**
 * 状态模式抽象
 */
public abstract class ILift {

    protected StateContext context;

    public void setContext(StateContext context) {
        this.context = context;
    }

    abstract void open();
    abstract void close();
    abstract void run();
    abstract void stop();

}
